|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.team.ui.synchronize.AbstractSynchronizeParticipant
org.eclipse.team.ui.synchronize.TeamSubscriberParticipant
A synchronize participant that displays synchronization information for local
resources that are managed via a TeamSubscriber
.
Field Summary | |
static int |
ALL_MODES
|
static int |
BOTH_MODE
|
static int |
CONFLICTING_MODE
|
static int |
INCOMING_MODE
Modes are direction filters for the view |
static int |
OUTGOING_MODE
|
static String |
P_SYNCVIEWPAGE_LAYOUT
Property constant indicating the mode of a page has changed. |
static String |
P_SYNCVIEWPAGE_MODE
Property constant indicating the mode of a page has changed. |
static String |
P_SYNCVIEWPAGE_WORKINGSET
Property constant indicating the mode of a page has changed. |
static int |
TABLE_LAYOUT
View type constant (value 1) indicating that the synchronize view will be shown as a table. |
static int |
TREE_LAYOUT
View type constant (value 0) indicating that the synchronize view will be shown as a tree. |
Fields inherited from class org.eclipse.team.ui.synchronize.AbstractSynchronizeParticipant |
configElement |
Constructor Summary | |
TeamSubscriberParticipant()
|
Method Summary | |
IPageBookViewPage |
createPage(ISynchronizeView view)
Creates and returns a new page for this synchronize participant. |
void |
dispose()
Disposes of this synchronize participant. |
org.eclipse.team.internal.ui.synchronize.sets.SubscriberInput |
getInput()
|
int |
getLayout()
|
int |
getMode()
|
IWorkingSet |
getWorkingSet()
|
void |
init(IMemento memento)
Initializes this participant with the given participant state. |
void |
refreshWithRemote(IResource[] resources)
|
void |
saveState(IMemento memento)
Saves the participants object state within the memento. |
void |
setLayout(int layout)
|
void |
setMode(int mode)
|
protected void |
setSubscriber(TeamSubscriber subscriber)
|
void |
setWorkingSet(IWorkingSet set)
|
Methods inherited from class org.eclipse.team.ui.synchronize.AbstractSynchronizeParticipant |
addPropertyChangeListener, firePropertyChange, getId, getImageDescriptor, getName, removePropertyChangeListener, setImageDescriptor, setInitializationData, setInitializationData, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String P_SYNCVIEWPAGE_WORKINGSET
public static final String P_SYNCVIEWPAGE_MODE
public static final int INCOMING_MODE
public static final int OUTGOING_MODE
public static final int BOTH_MODE
public static final int CONFLICTING_MODE
public static final int ALL_MODES
public static final String P_SYNCVIEWPAGE_LAYOUT
public static final int TREE_LAYOUT
public static final int TABLE_LAYOUT
Constructor Detail |
public TeamSubscriberParticipant()
Method Detail |
public IPageBookViewPage createPage(ISynchronizeView view)
ISynchronizeParticipant
view
- the view in which the page is to be created
public void setMode(int mode)
public int getMode()
public void setLayout(int layout)
public int getLayout()
public void setWorkingSet(IWorkingSet set)
public IWorkingSet getWorkingSet()
public void refreshWithRemote(IResource[] resources)
public void dispose()
ISynchronizeParticipant
ISynchronizeParticipant
. It marks the end of the
participants lifecycle.
Within this method a participant may release any resources, fonts, images, etc. held by this part. It is also very important to deregister all listeners.
Clients should not call this method (the synchronize manager calls this method at appropriate times).
public org.eclipse.team.internal.ui.synchronize.sets.SubscriberInput getInput()
protected void setSubscriber(TeamSubscriber subscriber)
public void init(IMemento memento) throws PartInitException
ISynchronizeParticipant
This method is automatically called by the team plugin shortly after participant construction. It marks the start of the views's lifecycle. Clients must not call this method.
init
in interface ISynchronizeParticipant
init
in class AbstractSynchronizeParticipant
PartInitException
public void saveState(IMemento memento)
ISynchronizeParticipant
init
.
saveState
in interface ISynchronizeParticipant
saveState
in class AbstractSynchronizeParticipant
|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |